<!-- saved from url=(0014)about:internet -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name=Generator content="younghua.com">
<link href="doc.css" type="text/css" rel="stylesheet" rev="stylesheet" />

	
<script language="JavaScript" src="../js/commonjs.js" type="text/javascript"></script>
<link href="../css/navigation.css" type="text/css" rel="stylesheet" rev="stylesheet" />
	<script>
setCurTitleIndex( 24 );
localFrame( 24);

</script>

<title>Lua设置</title>	
</head>
<body><div id='helpdiv'>
<h2><a name="_Toc9961"><span lang=EN-US style='font-weight:normal'>6.1<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span
lang=EN-US>Lua</span></a><span style='font-family:黑体'>设置</span></h2>

<p class=MsoNormal style='margin-bottom:7.8pt;text-indent:21.0pt'><span
style='font-family:宋体'>交易是针对业务而言，系统支持通过</span><span lang=EN-US>Lua</span><span
style='font-family:宋体'>代码实现对七层提取的业务数据，如</span><span lang=EN-US>URL</span><span
style='font-family:宋体'>路径、业务参数自定义关键交易。只有对节点进行了</span><span lang=EN-US>Lua</span><span
style='font-family:宋体'>代码编写，定义交易类型、交易渠道，提取业务数据，才可以获取到交易数据。</span></p>

<p class=MsoNormal style='margin-bottom:7.8pt;text-indent:21.0pt'><span
style='font-family:宋体'>对某个节点进行</span><span lang=EN-US>Lua</span><span
style='font-family:宋体'>设置之前，需要先将该节点添加关注，在服务节点</span><span lang=EN-US>-</span><span
style='font-family:宋体'>已关注服务节点，点击节点的操作按钮，选择</span><span lang=EN-US>Lua</span><span
style='font-family:宋体'>，在弹出的对话框写入代码，保存即生效，如下图所示：</span></p>

<p class=MsoNormal style='margin-bottom:7.8pt'><span lang=EN-US><img border=0
width=554 height=303 src="index.files/image040.jpg"></span></p>

<p class=MsoCaption><span lang=EN-US>图29<span style='font:7.0pt "Times New Roman"'>&nbsp;
</span></span><span style='font-family:宋体'>编写</span><span lang=EN-US>Lua</span><span
style='font-family:宋体'>代码</span></p>

<p class=MsoNormal style='margin-bottom:7.8pt;text-indent:21.0pt'><span
style='font-family:宋体'>进行</span><span lang=EN-US>Lua</span><span
style='font-family:宋体'>代码编写之前，需要对业务系统的业务情况，每个节点的协议，以及协议上报的内容进行了解，然后才可以通过</span><span
lang=EN-US>Lua</span><span style='font-family:宋体'>代码定义交易类型、渠道，提取相关业务的请求数据，具体如果编写可参考</span><span
lang=EN-US>Lua</span><span style='font-family:宋体'>代码开发说明。</span></p>

<p class=MsoNormal style='margin-bottom:7.8pt;text-indent:21.0pt'><span
style='font-family:宋体'>注：</span><span lang=EN-US>Lua</span><span
style='font-family:宋体'>代码编写，与被监控数据关联性较大，难易程度也不同，不同的业务系统存在差异性也相对较大，如果遇到无法分析编写，可提交给开发人员协助。</span></p>

</div>
</body >
<script>
forceTreeShow( 'rootNode_node_6_1' );
highlight();

</script>
</html>